package com.accesshollywood.grfxOrdering.core;

public class CoreGrfxItemSet {
	private int	idItem	= -1;

	public synchronized int getIdItem() {
		return idItem;
	}

	public synchronized void setIdItem(int idItem) {
		this.idItem = idItem;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + idItem;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CoreGrfxItemSet other = (CoreGrfxItemSet) obj;
		if (idItem != other.idItem)
			return false;
		return true;
	}
}
